﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>@ViewBag.Title - 码云卡</title>
    <!-- Bootstrap Core CSS -->
    <link href="/Content/admin/bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
    <!-- MetisMenu CSS -->
    <link href="/Content/admin/bower_components/metisMenu/dist/metisMenu.min.css" rel="stylesheet">
    <!-- DataTables CSS -->
    <link href="/Content/admin/bower_components/datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.css" rel="stylesheet">
    <!-- DataTables Responsive CSS -->
    <link href="/Content/admin/bower_components/datatables-responsive/css/dataTables.responsive.css" rel="stylesheet">
    <!-- DateTime Picker CSS -->
    <link href="/Content/bootstrap-datetimepicker/css/bootstrap-datetimepicker.css" rel="stylesheet" />
    <!-- Alertify dialog -->
    <link href="/Content/alertify-js/css/alertify.css" rel="stylesheet" />
    <!-- Custom CSS -->
    <link href="/Content/admin/dist/css/sb-admin-2.css" rel="stylesheet">
    <!-- Custom Fonts -->
    <link href="/Content/admin/bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"> </script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"> </script>
    <![endif]-->
    <!-- Custom CSS From page -->
    @RenderSection("css", false)
</head>
<body>
    <div id="wrapper">
        <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <strong>
                    @Html.ActionLink("码云卡 - 配送管理系统", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" })
                </strong>
            </div>
            <ul class="nav navbar-top-links navbar-right">
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="fa fa-user fa-fw"></i>  <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-messages">
                        <li><a href="/MagUser/Update"><i class="fa fa-user fa-fw"></i>账户与密码信息</a></li>
                        <li class="divider"></li>
                        <li><a href="javascript:;" onclick="logout();"><i class="fa fa-sign-out fa-fw"></i> 退出登录</a></li>
                    </ul>
                </li>
            </ul>
            <div class="navbar-default sidebar" role="navigation">
                <div class="sidebar-nav navbar-collapse">
                    <ul class="nav" id="side-menu">

                        <li class="sidebar-search">
                            <img src="/Content/admin/image/site_logo.jpg" />
                        </li>

                        <li>
                            <a href="/Home/Index">
                                <i class="fa fa-dashboard fa-fw"></i> 系统首页
                            </a>
                        </li>

                        @Html.Raw(ViewBag.HtmlNavMenu)
            
                    </ul>
                </div>
            </div>
        </nav>
        <div id="page-wrapper">
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-header">@ViewBag.Title<a href="@ViewBag.PathToBtn" class="btn btn-primary pull-right">@ViewBag.TextBtn</a></h1>
                </div>
            </div>
            @RenderBody()
        </div>
        <audio id="notifier" src="/Content/admin/resource/order.wav" controls="controls" style="display:none;"></audio>
    </div>
    <div class="page-footer">
        <p>&copy; @DateTime.Now.Year - 由云迈天行科技有限责任公司提供技术支持</p>
    </div>

    <!-- jQuery -->
    <script src="/Content/admin/bower_components/jquery/dist/jquery.min.js"> </script>
    <!-- Bootstrap Core JavaScript -->
    <script src="/Content/admin/bower_components/bootstrap/dist/js/bootstrap.min.js"> </script>
    <!-- Metis Menu Plugin JavaScript -->
    <script src="/Content/admin/bower_components/metisMenu/dist/metisMenu.min.js"> </script>
    <!-- DataTables JavaScript -->
    <script src="/Content/admin/bower_components/datatables/media/js/jquery.dataTables.min.js"></script>
    <script src="/Content/admin/bower_components/datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.min.js"></script>
    <script src="/Content/admin/bower_components/datatables-responsive/js/dataTables.responsive.js"></script>
    <!-- DateTime Picker and it's Language Pack -->
    <script src="/Content/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js"></script>
    <script src="/Content/bootstrap-datetimepicker/js/bootstrap-datetimepicker.zh-CN.js"></script>
    <!-- Alertify Dialog -->
    <script src="/Content/alertify-js/js/alertify.js"></script>
    <script src="/Content/admin/js/jquery.validate.min.js"></script>
    <script src="/Content/admin/js/messages_zh.js"></script>
    <script src="/Content/admin/dist/js/preview.js"></script>
    <!-- Custom Theme JavaScript -->
    <script src="/Content/admin/dist/js/sb-admin-2.js"> </script>
    <!-- Page-Level Scripts -->
    @RenderSection("javascript", false)
</body>
</html>